package org.xdq.demo.dao;

import org.apache.ibatis.annotations.Select;
import org.xdq.demo.dto.EmpDto;
import org.xdq.demo.dto.EmpQueryDto;
import org.xdq.demo.model.Emp;

import java.util.List;

public interface EmpDao {

    @Select("select count(*) from t_emp")
    public int findEmpCount();

    public List<Emp> findEmpList(EmpQueryDto dto);

    public void insertNewEmp(EmpDto empDto);
}
